// ****************************************************************************** 
// Copyright     :  Copyright (C) 2018, Hisilicon Technologies Co. Ltd.
// File name     :  proctrainctrl_c_union_define.h
// Project line  :  IP
// Department    :  
// Author        :  Jason, Edward
// Version       :  .1
// Date          :  2011/11/29
// Description   :  The DDR PHY Controller Block
// Others        :  Generated automatically by nManager V4.2 
// History       :  Jason, Edward 2018/03/19 12:28:10 Create file
// ******************************************************************************

#ifndef __PROCTRAINCTRL_C_UNION_DEFINE_H__
#define __PROCTRAINCTRL_C_UNION_DEFINE_H__

/* Define the union U_UC_TRCTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    uc_rowact_type           : 1  ; /* [31] */
        unsigned int    pte_phyupd_req           : 1  ; /* [30] */
        unsigned int    trkdbg_rdqs_get          : 1  ; /* [29] */
        unsigned int    trkdbg_rdqsg_get         : 1  ; /* [28] */
        unsigned int    trkdbg_dyna_rdqsen       : 1  ; /* [27] */
        unsigned int    trkdbg_dyna_rdqsgen      : 1  ; /* [26] */
        unsigned int    trkdbg_dyna_prirdqsgen   : 1  ; /* [25] */
        unsigned int    trkdbg_dyna_hiprirdqsgen : 1  ; /* [24] */
        unsigned int    rsv_0                    : 1  ; /* [23] */
        unsigned int    trkdbg_dlymeas_gated     : 1  ; /* [22] */
        unsigned int    trkdbg_ctl_aref_active   : 1  ; /* [21] */
        unsigned int    status_lowpri_peek       : 1  ; /* [20] */
        unsigned int    rsv_1                    : 11  ; /* [19:9] */
        unsigned int    phycnt_rst_type          : 1  ; /* [8] */
        unsigned int    carry_status_type        : 1  ; /* [7] */
        unsigned int    rsv_2                    : 3  ; /* [6:4] */
        unsigned int    uc_rt_populate           : 2  ; /* [3:2] */
        unsigned int    uc_regif_wst             : 1  ; /* [1] */
        unsigned int    uc_mode_en               : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_TRCTRL;

/* Define the union U_UC_TROPCTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_3            : 14  ; /* [31:18] */
        unsigned int    wl2op_active     : 1  ; /* [17] */
        unsigned int    phycnt_rst       : 1  ; /* [16] */
        unsigned int    rsv_4            : 8  ; /* [15:8] */
        unsigned int    detop_preca_post : 1  ; /* [7] */
        unsigned int    detop_rwtest     : 1  ; /* [6] */
        unsigned int    detop_rdtest     : 1  ; /* [5] */
        unsigned int    detop_prewrite   : 1  ; /* [4] */
        unsigned int    rsv_5            : 2  ; /* [3:2] */
        unsigned int    detop_preca      : 1  ; /* [1] */
        unsigned int    detop_active     : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_TROPCTRL;

/* Define the union U_UC_DTRSTSP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    det_any_failed   : 4  ; /* [31:28] */
        unsigned int    det_all_failed   : 4  ; /* [27:24] */
        unsigned int    det_any_passed   : 4  ; /* [23:20] */
        unsigned int    det_all_passed   : 4  ; /* [19:16] */
        unsigned int    comb_cary_status : 1  ; /* [15] */
        unsigned int    rsv_6            : 14  ; /* [14:1] */
        unsigned int    dtrain_active    : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_DTRSTSP;

/* Define the union U_UC_TRSTATUS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    uc_int_msk  : 1  ; /* [31] */
        unsigned int    rsv_7       : 29  ; /* [30:2] */
        unsigned int    uc_rtactive : 2  ; /* [1:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_TRSTATUS;

/* Define the union U_UC_CMDQCTRL */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_8              : 27  ; /* [31:5] */
        unsigned int    cmdq_rd_flush_mode : 1  ; /* [4] */
        unsigned int    rsv_9              : 2  ; /* [3:2] */
        unsigned int    cmdq_flush         : 1  ; /* [1] */
        unsigned int    cmdq_byp_mode      : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_CMDQCTRL;

/* Define the union U_UC_ADDRPH_A_AUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_10       : 6  ; /* [31:26] */
        unsigned int    phase_sel    : 2  ; /* [25:24] */
        unsigned int    rsv_11       : 6  ; /* [23:18] */
        unsigned int    carry_status : 2  ; /* [17:16] */
        unsigned int    rsv_12       : 4  ; /* [15:12] */
        unsigned int    alu_operand  : 8  ; /* [11:4] */
        unsigned int    src_sel      : 1  ; /* [3] */
        unsigned int    alu_operator : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_ADDRPH_A_AUC;

/* Define the union U_UC_ADDRBDL_A_AUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    addrbdl_a_sel : 10  ; /* [31:22] */
        unsigned int    carry_status  : 10  ; /* [21:12] */
        unsigned int    alu_operand   : 8  ; /* [11:4] */
        unsigned int    src_sel       : 1  ; /* [3] */
        unsigned int    alu_operator  : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_ADDRBDL_A_AUC;

/* Define the union U_UC_CSRBDL_AUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_13       : 6  ; /* [31:26] */
        unsigned int    csbdl_sel    : 2  ; /* [25:24] */
        unsigned int    rsv_14       : 6  ; /* [23:18] */
        unsigned int    carry_status : 2  ; /* [17:16] */
        unsigned int    rsv_15       : 4  ; /* [15:12] */
        unsigned int    alu_operand  : 8  ; /* [11:4] */
        unsigned int    src_sel      : 1  ; /* [3] */
        unsigned int    alu_operator : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_CSRBDL_AUC;

/* Define the union U_UC_WDQPHAUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data8_sel    : 8  ; /* [31:24] */
        unsigned int    carry_status : 8  ; /* [23:16] */
        unsigned int    rsv_16       : 4  ; /* [15:12] */
        unsigned int    alu_operand  : 8  ; /* [11:4] */
        unsigned int    src_sel      : 1  ; /* [3] */
        unsigned int    alu_operator : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_WDQPHAUC;

/* Define the union U_UC_WDQSPHAUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data8_sel    : 8  ; /* [31:24] */
        unsigned int    carry_status : 8  ; /* [23:16] */
        unsigned int    rsv_17       : 6  ; /* [15:10] */
        unsigned int    alu_operand  : 6  ; /* [9:4] */
        unsigned int    rsv_18       : 1  ; /* [3] */
        unsigned int    alu_operator : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_WDQSPHAUC;

/* Define the union U_UC_WDQSBDLAUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data8_sel    : 8  ; /* [31:24] */
        unsigned int    carry_status : 8  ; /* [23:16] */
        unsigned int    rsv_19       : 4  ; /* [15:12] */
        unsigned int    alu_operand  : 8  ; /* [11:4] */
        unsigned int    rsv_20       : 1  ; /* [3] */
        unsigned int    alu_operator : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_WDQSBDLAUC;

/* Define the union U_UC_WDLYOP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_21      : 11  ; /* [31:21] */
        unsigned int    acdly_store : 1  ; /* [20] */
        unsigned int    rsv_22      : 19  ; /* [19:1] */
        unsigned int    wdly_store  : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_WDLYOP;

/* Define the union U_UC_RDQSAUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data8_sel    : 8  ; /* [31:24] */
        unsigned int    carry_status : 8  ; /* [23:16] */
        unsigned int    rsv_23       : 2  ; /* [15:14] */
        unsigned int    alu_operand  : 10  ; /* [13:4] */
        unsigned int    src_sel      : 1  ; /* [3] */
        unsigned int    alu_operator : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_RDQSAUC;

/* Define the union U_UC_RDQSGTXAUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data8_sel    : 8  ; /* [31:24] */
        unsigned int    carry_status : 8  ; /* [23:16] */
        unsigned int    rsv_24       : 4  ; /* [15:12] */
        unsigned int    alu_operand  : 8  ; /* [11:4] */
        unsigned int    rsv_25       : 1  ; /* [3] */
        unsigned int    alu_operator : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_RDQSGTXAUC;

/* Define the union U_UC_RDQSGPHAUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data8_sel    : 8  ; /* [31:24] */
        unsigned int    carry_status : 8  ; /* [23:16] */
        unsigned int    rsv_26       : 2  ; /* [15:14] */
        unsigned int    alu_operand  : 10  ; /* [13:4] */
        unsigned int    rsv_27       : 1  ; /* [3] */
        unsigned int    alu_operator : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_RDQSGPHAUC;

/* Define the union U_UC_RDQSGBDLAUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data8_sel    : 8  ; /* [31:24] */
        unsigned int    carry_status : 8  ; /* [23:16] */
        unsigned int    rsv_28       : 4  ; /* [15:12] */
        unsigned int    alu_operand  : 8  ; /* [11:4] */
        unsigned int    rsv_29       : 1  ; /* [3] */
        unsigned int    alu_operator : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_RDQSGBDLAUC;

/* Define the union U_UC_RGDSAUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    data8_sel    : 8  ; /* [31:24] */
        unsigned int    carry_status : 8  ; /* [23:16] */
        unsigned int    rsv_30       : 9  ; /* [15:7] */
        unsigned int    alu_operand  : 3  ; /* [6:4] */
        unsigned int    rsv_31       : 1  ; /* [3] */
        unsigned int    alu_operator : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_RGDSAUC;

/* Define the union U_UC_RDLYOP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_32     : 31  ; /* [31:1] */
        unsigned int    rdly_store : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_RDLYOP;

/* Define the union U_UCSWTMODE */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    wl_wdqs_gated       : 1  ; /* [31] */
        unsigned int    sw_csgated          : 1  ; /* [30] */
        unsigned int    rsv_33              : 5  ; /* [29:25] */
        unsigned int    sw_dxctl_ie_dq_mode : 1  ; /* [24] */
        unsigned int    sw_dxctl_ie_dq      : 8  ; /* [23:16] */
        unsigned int    rsv_34              : 4  ; /* [15:12] */
        unsigned int    sw_wlmodeb          : 8  ; /* [11:4] */
        unsigned int    rsv_35              : 2  ; /* [3:2] */
        unsigned int    sw_gtmode           : 1  ; /* [1] */
        unsigned int    sw_wlmode           : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCSWTMODE;

/* Define the union U_UCSWTWLDQS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    sw_mrw_op     : 16  ; /* [31:16] */
        unsigned int    sw_mrw_ma     : 8  ; /* [15:8] */
        unsigned int    sw_mrw_req    : 1  ; /* [7] */
        unsigned int    sw_mrw_rw     : 1  ; /* [6] */
        unsigned int    sw_mrw_cs     : 2  ; /* [5:4] */
        unsigned int    sw_mrw_format : 1  ; /* [3] */
        unsigned int    rsv_36        : 2  ; /* [2:1] */
        unsigned int    sw_wl_dqs     : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCSWTWLDQS;

/* Define the union U_UC_SWTRLT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_37       : 8  ; /* [31:24] */
        unsigned int    gds_result   : 8  ; /* [23:16] */
        unsigned int    gt_result    : 8  ; /* [15:8] */
        unsigned int    wl_dq_result : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_SWTRLT;

/* Define the union U_UCSWMRRDATA */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_38                : 2  ; /* [31:30] */
        unsigned int    sw_mrr_data_burst_sel : 2  ; /* [29:28] */
        unsigned int    rsv_39                : 1  ; /* [27] */
        unsigned int    sw_mrr_data_byte_sel  : 3  ; /* [26:24] */
        unsigned int    rsv_40                : 8  ; /* [23:16] */
        unsigned int    sw_mrr_data_selected  : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCSWMRRDATA;

/* Define the union U_UCCATCONFIG */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    sw_cat_en       : 1  ; /* [31] */
        unsigned int    sw_cat_dqvalid  : 1  ; /* [30] */
        unsigned int    sw_cat_cke_low  : 1  ; /* [29] */
        unsigned int    sw_cat_cke_high : 1  ; /* [28] */
        unsigned int    sw_cat_strobe   : 1  ; /* [27] */
        unsigned int    sw_cat_mrw41    : 1  ; /* [26] */
        unsigned int    sw_cat_mrw48    : 1  ; /* [25] */
        unsigned int    sw_cat_mrw42    : 1  ; /* [24] */
        unsigned int    rsv_41          : 1  ; /* [23] */
        unsigned int    sw_cst_mode     : 1  ; /* [22] */
        unsigned int    rsv_42          : 5  ; /* [21:17] */
        unsigned int    sw_cat_eyet     : 1  ; /* [16] */
        unsigned int    rsv_43          : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCCATCONFIG;

/* Define the union U_UCPHYDQRESULT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    phy_dq_result : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCPHYDQRESULT;

/* Define the union U_UCSWCATPATTERN_P */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_44          : 6  ; /* [31:26] */
        unsigned int    uc_sw_cat_pat_n : 10  ; /* [25:16] */
        unsigned int    rsv_45          : 6  ; /* [15:10] */
        unsigned int    uc_sw_cat_pat_p : 10  ; /* [9:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCSWCATPATTERN_P;

/* Define the union U_UCFASTGDSRLT0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fast_gds_result : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCFASTGDSRLT0;

/* Define the union U_UCFASTGDSRLT1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    fast_gds_result : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCFASTGDSRLT1;

/* Define the union U_UCFASTGTRLT */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rsv_46           : 16  ; /* [31:16] */
        unsigned int    fast_gt_incgress : 8  ; /* [15:8] */
        unsigned int    fast_gt_decgress : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCFASTGTRLT;

/* Define the union U_UCTRKDBG_RDQS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    trkdbg_rdqs_pristatus : 16  ; /* [31:16] */
        unsigned int    trkdbg_rdqs_status    : 16  ; /* [15:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCTRKDBG_RDQS;

/* Define the union U_UCTRKDBG_RDQSG0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    trkdbg_rdqsg_status : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCTRKDBG_RDQSG0;

/* Define the union U_UCTRKDBG_RDQSG1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    trkdbg_rdqsg_status_ph : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCTRKDBG_RDQSG1;

/* Define the union U_UCDBG_PHYSTOP */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    trkdbg_vref_status : 16  ; /* [31:16] */
        unsigned int    phy_dqs_stop       : 8  ; /* [15:8] */
        unsigned int    phy_dqsg_stop      : 8  ; /* [7:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCDBG_PHYSTOP;

/* Define the union U_UCDBG_PERBIT0 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    trkdbg_perbit_dm_rdata : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCDBG_PERBIT0;

/* Define the union U_UCDBG_PERBIT1 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    trkdbg_perbit_dq_rdata1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCDBG_PERBIT1;

/* Define the union U_UCDBG_PERBIT2 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    trkdbg_perbit_dq_rdata2 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCDBG_PERBIT2;

/* Define the union U_UCDBG_PERBIT3 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    trkdbg_perbit_dq_rdata3 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCDBG_PERBIT3;

/* Define the union U_UCDBG_PERBIT4 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    trkdbg_perbit_dq_rdata4 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCDBG_PERBIT4;

/* Define the union U_UCDBG_PERBIT5 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    trkdbg_perbit_dm_rdata1 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCDBG_PERBIT5;

/* Define the union U_UCDBG_PERBIT6 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    trkdbg_perbit_dq_rdata5 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCDBG_PERBIT6;

/* Define the union U_UCDBG_PERBIT7 */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    trkdbg_perbit_dq_rdata6 : 32  ; /* [31:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UCDBG_PERBIT7;

/* Define the union U_UC_WDQNAUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    wdqn_sel     : 8  ; /* [31:24] */
        unsigned int    wdq_carry    : 8  ; /* [23:16] */
        unsigned int    wdm_sel      : 1  ; /* [15] */
        unsigned int    wdm_carry    : 1  ; /* [14] */
        unsigned int    rsv_47       : 2  ; /* [13:12] */
        unsigned int    alu_operand  : 8  ; /* [11:4] */
        unsigned int    src_sel      : 1  ; /* [3] */
        unsigned int    alu_operator : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_WDQNAUC;

/* Define the union U_UC_RDQNAUC */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    rdqn_sel     : 8  ; /* [31:24] */
        unsigned int    rdq_carry    : 8  ; /* [23:16] */
        unsigned int    rdbi_sel     : 1  ; /* [15] */
        unsigned int    rdbi_carry   : 1  ; /* [14] */
        unsigned int    even_odd     : 1  ; /* [13] */
        unsigned int    rsv_48       : 1  ; /* [12] */
        unsigned int    alu_operand  : 8  ; /* [11:4] */
        unsigned int    src_sel      : 1  ; /* [3] */
        unsigned int    alu_operator : 3  ; /* [2:0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_RDQNAUC;

/* Define the union U_UC_DTRSTS */
typedef union
{
    /* Define the struct bits */
    struct
    {
        unsigned int    det_any_failed : 1  ; /* [31] */
        unsigned int    det_all_failed : 1  ; /* [30] */
        unsigned int    det_any_passed : 1  ; /* [29] */
        unsigned int    det_all_passed : 1  ; /* [28] */
        unsigned int    cmpres         : 8  ; /* [27:20] */
        unsigned int    dq_cmpres_odd  : 8  ; /* [19:12] */
        unsigned int    dq_cmpres_even : 8  ; /* [11:4] */
        unsigned int    dm_cmpres      : 1  ; /* [3] */
        unsigned int    dm_cmpres_odd  : 1  ; /* [2] */
        unsigned int    dm_cmpres_even : 1  ; /* [1] */
        unsigned int    dtrain_active  : 1  ; /* [0] */
    } bits;

    /* Define an unsigned member */
    unsigned int    u32;

} U_UC_DTRSTS;


//==============================================================================
/* Define the global struct */
typedef struct
{
    volatile U_UC_TRCTRL        UC_TRCTRL        ; /* 0 */
    volatile U_UC_TROPCTRL      UC_TROPCTRL      ; /* 4 */
    volatile U_UC_DTRSTSP       UC_DTRSTSP       ; /* 8 */
    volatile U_UC_TRSTATUS      UC_TRSTATUS      ; /* C */
    volatile U_UC_CMDQCTRL      UC_CMDQCTRL      ; /* 10 */
    volatile U_UC_ADDRPH_A_AUC  UC_ADDRPH_A_AUC  ; /* 30 */
    volatile U_UC_ADDRBDL_A_AUC UC_ADDRBDL_A_AUC ; /* 34 */
    volatile U_UC_CSRBDL_AUC    UC_CSRBDL_AUC    ; /* 38 */
    volatile U_UC_WDQPHAUC      UC_WDQPHAUC      ; /* 40 */
    volatile U_UC_WDQSPHAUC     UC_WDQSPHAUC     ; /* 48 */
    volatile U_UC_WDQSBDLAUC    UC_WDQSBDLAUC    ; /* 4C */
    volatile U_UC_WDLYOP        UC_WDLYOP        ; /* 50 */
    volatile U_UC_RDQSAUC       UC_RDQSAUC       ; /* 80 */
    volatile U_UC_RDQSGTXAUC    UC_RDQSGTXAUC    ; /* 84 */
    volatile U_UC_RDQSGPHAUC    UC_RDQSGPHAUC    ; /* 88 */
    volatile U_UC_RDQSGBDLAUC   UC_RDQSGBDLAUC   ; /* 8C */
    volatile U_UC_RGDSAUC       UC_RGDSAUC       ; /* 90 */
    volatile U_UC_RDLYOP        UC_RDLYOP        ; /* 94 */
    volatile U_UCSWTMODE        UCSWTMODE        ; /* A0 */
    volatile U_UCSWTWLDQS       UCSWTWLDQS       ; /* A4 */
    volatile U_UC_SWTRLT        UC_SWTRLT        ; /* A8 */
    volatile U_UCSWMRRDATA      UCSWMRRDATA      ; /* AC */
    volatile U_UCCATCONFIG      UCCATCONFIG      ; /* B0 */
    volatile U_UCPHYDQRESULT    UCPHYDQRESULT    ; /* B8 */
    volatile U_UCSWCATPATTERN_P UCSWCATPATTERN_P ; /* BC */
    volatile U_UCFASTGDSRLT0    UCFASTGDSRLT0    ; /* C4 */
    volatile U_UCFASTGDSRLT1    UCFASTGDSRLT1    ; /* C8 */
    volatile U_UCFASTGTRLT      UCFASTGTRLT      ; /* CC */
    volatile U_UCTRKDBG_RDQS    UCTRKDBG_RDQS    ; /* D0 */
    volatile U_UCTRKDBG_RDQSG0  UCTRKDBG_RDQSG0  ; /* D4 */
    volatile U_UCTRKDBG_RDQSG1  UCTRKDBG_RDQSG1  ; /* D8 */
    volatile U_UCDBG_PHYSTOP    UCDBG_PHYSTOP    ; /* DC */
    volatile U_UCDBG_PERBIT0    UCDBG_PERBIT0    ; /* E0 */
    volatile U_UCDBG_PERBIT1    UCDBG_PERBIT1    ; /* E4 */
    volatile U_UCDBG_PERBIT2    UCDBG_PERBIT2    ; /* E8 */
    volatile U_UCDBG_PERBIT3    UCDBG_PERBIT3    ; /* EC */
    volatile U_UCDBG_PERBIT4    UCDBG_PERBIT4    ; /* F0 */
    volatile U_UCDBG_PERBIT5    UCDBG_PERBIT5    ; /* F4 */
    volatile U_UCDBG_PERBIT6    UCDBG_PERBIT6    ; /* F8 */
    volatile U_UCDBG_PERBIT7    UCDBG_PERBIT7    ; /* FC */
    volatile U_UC_WDQNAUC       UC_WDQNAUC[2]    ; /* 100 */
    volatile U_UC_RDQNAUC       UC_RDQNAUC[2]    ; /* 104 */
    volatile U_UC_DTRSTS        UC_DTRSTS[2]     ; /* 108 */

} S_proctrainctrl_REGS_TYPE;

/* Declare the struct pointor of the module proctrainctrl */
extern volatile S_proctrainctrl_REGS_TYPE *gopproctrainctrlAllReg;

/* Declare the functions that set the member value */
int iSetUC_TRCTRL_uc_rowact_type(unsigned int uuc_rowact_type);
int iSetUC_TRCTRL_pte_phyupd_req(unsigned int upte_phyupd_req);
int iSetUC_TRCTRL_trkdbg_rdqs_get(unsigned int utrkdbg_rdqs_get);
int iSetUC_TRCTRL_trkdbg_rdqsg_get(unsigned int utrkdbg_rdqsg_get);
int iSetUC_TRCTRL_trkdbg_dyna_rdqsen(unsigned int utrkdbg_dyna_rdqsen);
int iSetUC_TRCTRL_trkdbg_dyna_rdqsgen(unsigned int utrkdbg_dyna_rdqsgen);
int iSetUC_TRCTRL_trkdbg_dyna_prirdqsgen(unsigned int utrkdbg_dyna_prirdqsgen);
int iSetUC_TRCTRL_trkdbg_dyna_hiprirdqsgen(unsigned int utrkdbg_dyna_hiprirdqsgen);
int iSetUC_TRCTRL_trkdbg_dlymeas_gated(unsigned int utrkdbg_dlymeas_gated);
int iSetUC_TRCTRL_trkdbg_ctl_aref_active(unsigned int utrkdbg_ctl_aref_active);
int iSetUC_TRCTRL_status_lowpri_peek(unsigned int ustatus_lowpri_peek);
int iSetUC_TRCTRL_phycnt_rst_type(unsigned int uphycnt_rst_type);
int iSetUC_TRCTRL_carry_status_type(unsigned int ucarry_status_type);
int iSetUC_TRCTRL_uc_rt_populate(unsigned int uuc_rt_populate);
int iSetUC_TRCTRL_uc_regif_wst(unsigned int uuc_regif_wst);
int iSetUC_TRCTRL_uc_mode_en(unsigned int uuc_mode_en);
int iSetUC_TROPCTRL_wl2op_active(unsigned int uwl2op_active);
int iSetUC_TROPCTRL_phycnt_rst(unsigned int uphycnt_rst);
int iSetUC_TROPCTRL_detop_preca_post(unsigned int udetop_preca_post);
int iSetUC_TROPCTRL_detop_rwtest(unsigned int udetop_rwtest);
int iSetUC_TROPCTRL_detop_rdtest(unsigned int udetop_rdtest);
int iSetUC_TROPCTRL_detop_prewrite(unsigned int udetop_prewrite);
int iSetUC_TROPCTRL_detop_preca(unsigned int udetop_preca);
int iSetUC_TROPCTRL_detop_active(unsigned int udetop_active);
int iSetUC_DTRSTSP_det_any_failed(unsigned int udet_any_failed);
int iSetUC_DTRSTSP_det_all_failed(unsigned int udet_all_failed);
int iSetUC_DTRSTSP_det_any_passed(unsigned int udet_any_passed);
int iSetUC_DTRSTSP_det_all_passed(unsigned int udet_all_passed);
int iSetUC_DTRSTSP_comb_cary_status(unsigned int ucomb_cary_status);
int iSetUC_DTRSTSP_dtrain_active(unsigned int udtrain_active);
int iSetUC_TRSTATUS_uc_int_msk(unsigned int uuc_int_msk);
int iSetUC_TRSTATUS_uc_rtactive(unsigned int uuc_rtactive);
int iSetUC_CMDQCTRL_cmdq_rd_flush_mode(unsigned int ucmdq_rd_flush_mode);
int iSetUC_CMDQCTRL_cmdq_flush(unsigned int ucmdq_flush);
int iSetUC_CMDQCTRL_cmdq_byp_mode(unsigned int ucmdq_byp_mode);
int iSetUC_ADDRPH_A_AUC_phase_sel(unsigned int uphase_sel);
int iSetUC_ADDRPH_A_AUC_carry_status(unsigned int ucarry_status);
int iSetUC_ADDRPH_A_AUC_alu_operand(unsigned int ualu_operand);
int iSetUC_ADDRPH_A_AUC_src_sel(unsigned int usrc_sel);
int iSetUC_ADDRPH_A_AUC_alu_operator(unsigned int ualu_operator);
int iSetUC_ADDRBDL_A_AUC_addrbdl_a_sel(unsigned int uaddrbdl_a_sel);
int iSetUC_ADDRBDL_A_AUC_carry_status(unsigned int ucarry_status);
int iSetUC_ADDRBDL_A_AUC_alu_operand(unsigned int ualu_operand);
int iSetUC_ADDRBDL_A_AUC_src_sel(unsigned int usrc_sel);
int iSetUC_ADDRBDL_A_AUC_alu_operator(unsigned int ualu_operator);
int iSetUC_CSRBDL_AUC_csbdl_sel(unsigned int ucsbdl_sel);
int iSetUC_CSRBDL_AUC_carry_status(unsigned int ucarry_status);
int iSetUC_CSRBDL_AUC_alu_operand(unsigned int ualu_operand);
int iSetUC_CSRBDL_AUC_src_sel(unsigned int usrc_sel);
int iSetUC_CSRBDL_AUC_alu_operator(unsigned int ualu_operator);
int iSetUC_WDQPHAUC_data8_sel(unsigned int udata8_sel);
int iSetUC_WDQPHAUC_carry_status(unsigned int ucarry_status);
int iSetUC_WDQPHAUC_alu_operand(unsigned int ualu_operand);
int iSetUC_WDQPHAUC_src_sel(unsigned int usrc_sel);
int iSetUC_WDQPHAUC_alu_operator(unsigned int ualu_operator);
int iSetUC_WDQSPHAUC_data8_sel(unsigned int udata8_sel);
int iSetUC_WDQSPHAUC_carry_status(unsigned int ucarry_status);
int iSetUC_WDQSPHAUC_alu_operand(unsigned int ualu_operand);
int iSetUC_WDQSPHAUC_alu_operator(unsigned int ualu_operator);
int iSetUC_WDQSBDLAUC_data8_sel(unsigned int udata8_sel);
int iSetUC_WDQSBDLAUC_carry_status(unsigned int ucarry_status);
int iSetUC_WDQSBDLAUC_alu_operand(unsigned int ualu_operand);
int iSetUC_WDQSBDLAUC_alu_operator(unsigned int ualu_operator);
int iSetUC_WDLYOP_acdly_store(unsigned int uacdly_store);
int iSetUC_WDLYOP_wdly_store(unsigned int uwdly_store);
int iSetUC_RDQSAUC_data8_sel(unsigned int udata8_sel);
int iSetUC_RDQSAUC_carry_status(unsigned int ucarry_status);
int iSetUC_RDQSAUC_alu_operand(unsigned int ualu_operand);
int iSetUC_RDQSAUC_src_sel(unsigned int usrc_sel);
int iSetUC_RDQSAUC_alu_operator(unsigned int ualu_operator);
int iSetUC_RDQSGTXAUC_data8_sel(unsigned int udata8_sel);
int iSetUC_RDQSGTXAUC_carry_status(unsigned int ucarry_status);
int iSetUC_RDQSGTXAUC_alu_operand(unsigned int ualu_operand);
int iSetUC_RDQSGTXAUC_alu_operator(unsigned int ualu_operator);
int iSetUC_RDQSGPHAUC_data8_sel(unsigned int udata8_sel);
int iSetUC_RDQSGPHAUC_carry_status(unsigned int ucarry_status);
int iSetUC_RDQSGPHAUC_alu_operand(unsigned int ualu_operand);
int iSetUC_RDQSGPHAUC_alu_operator(unsigned int ualu_operator);
int iSetUC_RDQSGBDLAUC_data8_sel(unsigned int udata8_sel);
int iSetUC_RDQSGBDLAUC_carry_status(unsigned int ucarry_status);
int iSetUC_RDQSGBDLAUC_alu_operand(unsigned int ualu_operand);
int iSetUC_RDQSGBDLAUC_alu_operator(unsigned int ualu_operator);
int iSetUC_RGDSAUC_data8_sel(unsigned int udata8_sel);
int iSetUC_RGDSAUC_carry_status(unsigned int ucarry_status);
int iSetUC_RGDSAUC_alu_operand(unsigned int ualu_operand);
int iSetUC_RGDSAUC_alu_operator(unsigned int ualu_operator);
int iSetUC_RDLYOP_rdly_store(unsigned int urdly_store);
int iSetUCSWTMODE_wl_wdqs_gated(unsigned int uwl_wdqs_gated);
int iSetUCSWTMODE_sw_csgated(unsigned int usw_csgated);
int iSetUCSWTMODE_sw_dxctl_ie_dq_mode(unsigned int usw_dxctl_ie_dq_mode);
int iSetUCSWTMODE_sw_dxctl_ie_dq(unsigned int usw_dxctl_ie_dq);
int iSetUCSWTMODE_sw_wlmodeb(unsigned int usw_wlmodeb);
int iSetUCSWTMODE_sw_gtmode(unsigned int usw_gtmode);
int iSetUCSWTMODE_sw_wlmode(unsigned int usw_wlmode);
int iSetUCSWTWLDQS_sw_mrw_op(unsigned int usw_mrw_op);
int iSetUCSWTWLDQS_sw_mrw_ma(unsigned int usw_mrw_ma);
int iSetUCSWTWLDQS_sw_mrw_req(unsigned int usw_mrw_req);
int iSetUCSWTWLDQS_sw_mrw_rw(unsigned int usw_mrw_rw);
int iSetUCSWTWLDQS_sw_mrw_cs(unsigned int usw_mrw_cs);
int iSetUCSWTWLDQS_sw_mrw_format(unsigned int usw_mrw_format);
int iSetUCSWTWLDQS_sw_wl_dqs(unsigned int usw_wl_dqs);
int iSetUC_SWTRLT_gds_result(unsigned int ugds_result);
int iSetUC_SWTRLT_gt_result(unsigned int ugt_result);
int iSetUC_SWTRLT_wl_dq_result(unsigned int uwl_dq_result);
int iSetUCSWMRRDATA_sw_mrr_data_burst_sel(unsigned int usw_mrr_data_burst_sel);
int iSetUCSWMRRDATA_sw_mrr_data_byte_sel(unsigned int usw_mrr_data_byte_sel);
int iSetUCSWMRRDATA_sw_mrr_data_selected(unsigned int usw_mrr_data_selected);
int iSetUCCATCONFIG_sw_cat_en(unsigned int usw_cat_en);
int iSetUCCATCONFIG_sw_cat_dqvalid(unsigned int usw_cat_dqvalid);
int iSetUCCATCONFIG_sw_cat_cke_low(unsigned int usw_cat_cke_low);
int iSetUCCATCONFIG_sw_cat_cke_high(unsigned int usw_cat_cke_high);
int iSetUCCATCONFIG_sw_cat_strobe(unsigned int usw_cat_strobe);
int iSetUCCATCONFIG_sw_cat_mrw41(unsigned int usw_cat_mrw41);
int iSetUCCATCONFIG_sw_cat_mrw48(unsigned int usw_cat_mrw48);
int iSetUCCATCONFIG_sw_cat_mrw42(unsigned int usw_cat_mrw42);
int iSetUCCATCONFIG_sw_cst_mode(unsigned int usw_cst_mode);
int iSetUCCATCONFIG_sw_cat_eyet(unsigned int usw_cat_eyet);
int iSetUCPHYDQRESULT_phy_dq_result(unsigned int uphy_dq_result);
int iSetUCSWCATPATTERN_P_uc_sw_cat_pat_n(unsigned int uuc_sw_cat_pat_n);
int iSetUCSWCATPATTERN_P_uc_sw_cat_pat_p(unsigned int uuc_sw_cat_pat_p);
int iSetUCFASTGDSRLT0_fast_gds_result(unsigned int ufast_gds_result);
int iSetUCFASTGDSRLT1_fast_gds_result(unsigned int ufast_gds_result);
int iSetUCFASTGTRLT_fast_gt_incgress(unsigned int ufast_gt_incgress);
int iSetUCFASTGTRLT_fast_gt_decgress(unsigned int ufast_gt_decgress);
int iSetUCTRKDBG_RDQS_trkdbg_rdqs_pristatus(unsigned int utrkdbg_rdqs_pristatus);
int iSetUCTRKDBG_RDQS_trkdbg_rdqs_status(unsigned int utrkdbg_rdqs_status);
int iSetUCTRKDBG_RDQSG0_trkdbg_rdqsg_status(unsigned int utrkdbg_rdqsg_status);
int iSetUCTRKDBG_RDQSG1_trkdbg_rdqsg_status_ph(unsigned int utrkdbg_rdqsg_status_ph);
int iSetUCDBG_PHYSTOP_trkdbg_vref_status(unsigned int utrkdbg_vref_status);
int iSetUCDBG_PHYSTOP_phy_dqs_stop(unsigned int uphy_dqs_stop);
int iSetUCDBG_PHYSTOP_phy_dqsg_stop(unsigned int uphy_dqsg_stop);
int iSetUCDBG_PERBIT0_trkdbg_perbit_dm_rdata(unsigned int utrkdbg_perbit_dm_rdata);
int iSetUCDBG_PERBIT1_trkdbg_perbit_dq_rdata1(unsigned int utrkdbg_perbit_dq_rdata1);
int iSetUCDBG_PERBIT2_trkdbg_perbit_dq_rdata2(unsigned int utrkdbg_perbit_dq_rdata2);
int iSetUCDBG_PERBIT3_trkdbg_perbit_dq_rdata3(unsigned int utrkdbg_perbit_dq_rdata3);
int iSetUCDBG_PERBIT4_trkdbg_perbit_dq_rdata4(unsigned int utrkdbg_perbit_dq_rdata4);
int iSetUCDBG_PERBIT5_trkdbg_perbit_dm_rdata1(unsigned int utrkdbg_perbit_dm_rdata1);
int iSetUCDBG_PERBIT6_trkdbg_perbit_dq_rdata5(unsigned int utrkdbg_perbit_dq_rdata5);
int iSetUCDBG_PERBIT7_trkdbg_perbit_dq_rdata6(unsigned int utrkdbg_perbit_dq_rdata6);
int iSetUC_WDQNAUC_wdqn_sel(unsigned int uwdqn_sel);
int iSetUC_WDQNAUC_wdq_carry(unsigned int uwdq_carry);
int iSetUC_WDQNAUC_wdm_sel(unsigned int uwdm_sel);
int iSetUC_WDQNAUC_wdm_carry(unsigned int uwdm_carry);
int iSetUC_WDQNAUC_alu_operand(unsigned int ualu_operand);
int iSetUC_WDQNAUC_src_sel(unsigned int usrc_sel);
int iSetUC_WDQNAUC_alu_operator(unsigned int ualu_operator);
int iSetUC_RDQNAUC_rdqn_sel(unsigned int urdqn_sel);
int iSetUC_RDQNAUC_rdq_carry(unsigned int urdq_carry);
int iSetUC_RDQNAUC_rdbi_sel(unsigned int urdbi_sel);
int iSetUC_RDQNAUC_rdbi_carry(unsigned int urdbi_carry);
int iSetUC_RDQNAUC_even_odd(unsigned int ueven_odd);
int iSetUC_RDQNAUC_alu_operand(unsigned int ualu_operand);
int iSetUC_RDQNAUC_src_sel(unsigned int usrc_sel);
int iSetUC_RDQNAUC_alu_operator(unsigned int ualu_operator);
int iSetUC_DTRSTS_det_any_failed(unsigned int udet_any_failed);
int iSetUC_DTRSTS_det_all_failed(unsigned int udet_all_failed);
int iSetUC_DTRSTS_det_any_passed(unsigned int udet_any_passed);
int iSetUC_DTRSTS_det_all_passed(unsigned int udet_all_passed);
int iSetUC_DTRSTS_cmpres(unsigned int ucmpres);
int iSetUC_DTRSTS_dq_cmpres_odd(unsigned int udq_cmpres_odd);
int iSetUC_DTRSTS_dq_cmpres_even(unsigned int udq_cmpres_even);
int iSetUC_DTRSTS_dm_cmpres(unsigned int udm_cmpres);
int iSetUC_DTRSTS_dm_cmpres_odd(unsigned int udm_cmpres_odd);
int iSetUC_DTRSTS_dm_cmpres_even(unsigned int udm_cmpres_even);
int iSetUC_DTRSTS_dtrain_active(unsigned int udtrain_active);

#endif // __PROCTRAINCTRL_C_UNION_DEFINE_H__
